import request from '@/api/http.js'
export default {
  updateCirclesInfo(data, id) {
    return request.post(`/circles.Circles/edit?id=${id}`, data)
  },

  circlesType(params) {
    return request.get('/circles.Circles/type', { params })
  },

  circlesLists(params) {
    return request.get('/circles.Circles/lists', { params })
  },

  circlesApply(data) {
    return request.post('/circles.Circles/apply', data)
  },

  circlesDetail(params) {
    return request.get('/circles.Circles/detail', { params })
  },

  circlesZone(params) {
    return request.get('/circles.Circles/zone', { params })
  },

  userCirclesZone(params) {
    return request.get('/circles.Publish/userCirclesZone', { params })
  },

  circlesPlateZone(params) {
    return request.get('/circles.Publish/zone', { params })
  },

  circlesTopic(params) {
    return request.get('/circles.Topic/lists', { params })
  },

  circlesPostLists(params) {
    return request.get('circles.Circles/circlesPostLists', { params })
  },

  followUserCirclesPostLists(params) {
    return request.get('/circles.CirclesPost/followUser', { params })
  },

  communityPostLists(params) {
    return request.get('/circles.CirclesPost/lists', { params })
  },

  circlesMemberLists(params) {
    return request.get('/circles.Circles/member', { params })
  },

  topupDynamicLists(params) {
    return request.get('/circles.Circles/topupDynamicLists', { params })
  },

  topupDynamic(data) {
    return request.post('/circles.Circles/topupDynamic', data)
  },

  cancelTopupDynamic(data) {
    return request.post('/circles.Circles/cancelTopupDynamic', data)
  },

  plateStatus($data) {
    return request.post('/circles.Manage/plateStatus', $data)
  },

  findAlumni(params) {
    return request.get('/circles.Friends/school', { params })
  },

  findHometown(params) {
    return request.get('/circles.Friends/hometown', { params })
  },

  findOccupation(params) {
    return request.get('/circles.Friends/occupation', { params })
  },

  circlesManage(params) {
    return request.get('/circles.Manage/member', { params })
  },

  circlesMemberRemove(data) {
    return request.post('/circles.Manage/circlesMemberRemove', data)
  },

  circlesManageRemove(data) {
    return request.post('/circles.Manage/circlesManageRemove', data)
  },

  circlesManageAdd(data) {
    return request.post('/circles.Manage/circlesManageAdd', data)
  },

  auditCirclesMember(data) {
    return request.post('/circles.Manage/auditCirclesMember', data)
  },

  circlesMemberApplying(params) {
    return request.get('/circles.Manage/memberApplying', { params })
  },

  circlesBlacklistMember(params) {
    return request.get('/circles.Manage/blacklistMember', { params })
  },

  circlesManageZone(data) {
    return request.post('/circles.Manage/zone', data)
  },

  circlesManageZoneSortable(data) {
    return request.post('/circles.Manage/zoneSortable', data)
  },
}
